<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php /* 
<!-- start: include -->
		<!-- start: include jquery & jquery ui -->
		<link type="text/css" href="{$SITE_URL}/public/jquery-ui-1.8.16/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="{$SITE_URL}/public/jquery-ui-1.8.16/js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="{$SITE_URL}/public/jquery-ui-1.8.16/js/jquery-ui-1.8.16.custom.min.js"></script>
        <!-- end:   include jquery & jquery ui -->
        <!-- start: include super-fish menu jquery plugin -->
        <link type="text/css" href="{$SITE_URL}/public/superfish-1.4.8/css/superfish.css" rel="stylesheet" />	
		<script type="text/javascript" src="{$SITE_URL}/public/superfish-1.4.8/js/superfish.js"></script>
        <!-- end: include super-fish menu jquery plugin -->
        
        
        <!-- start: include jack's css & js -->
        <link type="text/css" href="{$SITE_URL}/public/jack/forindex/css/common.css" rel="stylesheet" />
        <!-- end:   include jack's css & js -->
        
<!-- end: include -->

//*/ ?>
<link href="{$SITE_URL}/public/jack/forindex/css/style.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="{$SITE_URL}/public/jack/forindex/js/jquery.js"></script>


<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

		<script src="{$SITE_URL}/public/jack/forindex/js/jquery.colorbox.js"></script>
 <link href="{$SITE_URL}/public/jack/forindex/js/colorbox.css" rel="stylesheet" type="text/css" /> 
  <script>
			$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$(".group1").colorbox({rel:'group1'});
				$(".group2").colorbox({rel:'group2', transition:"fade"});
				$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
				$(".group4").colorbox({rel:'group4', slideshow:true});
				$(".ajax").colorbox();
				$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
				$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
				$(".inline").colorbox({inline:true, width:"50%"});
				$(".callbacks").colorbox({
					onOpen:function(){ alert('onOpen: colorbox is about to open'); },
					onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
					onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
					onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
					onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
				});
				
				//Example of preserving a JavaScript event for inline calls.
				$("#click").click(function(){ 
					$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
					return false;
				});
			});
		</script>
-->  



<title><?php echo $msg["title"][LANG_SET]; ?></title>
</head>
<body>
<?php
$the_uri = $_SERVER['REQUEST_URI'];
$the_uri = str_replace("?l=zh-cn", "", $the_uri);
$the_uri = str_replace("?l=en-us", "", $the_uri);
$the_uri = str_replace("/l/zh-cn", "", $the_uri);
$the_uri = str_replace("/l/en-us", "", $the_uri);
?>

<div id="header">
  <div class="w960">
  
  
  		<div class="language">
     <strong>Lanuage - </strong>
    			   <a href="<?php echo $SITE_URL.$the_uri; if(empty($the_uri)||$the_uri=='/') echo '?l=zh-cn'; else echo '/l/zh-cn'; ?>">中文</a>
<a href="<?php echo $SITE_URL.$the_uri; if(empty($the_uri)||$the_uri=='/') echo '?l=en-us'; else echo '/l/en-us'; ?>">English</a>
  
  		</div>

 

  
    <div class="login_info">
      <notempty name="Think.session.user.uid" > 
                               <img src="{$SITE_URL}/public/jack/forindex/images/icon_p.png" width="16" height="16" /> Welcome {$Think.session.user.user_name}, <a href="{$SITE_URL}/index.php?s=Public/logout">Sign out</a>
      															 <span style="color:#999;">|</span> <a href="{$SITE_URL}/admin.php">Go to admin area</a>
       </notempty>
      <empty name="Think.session.user.uid"> 
                <a href="{$SITE_URL}/index.php/Public/login">LogIn</a>   <span style="color:#999;">|</span>  
                <a href="{$SITE_URL}/index.php/Public/register">Sign Up</a> 
      <!-- | <a class="iframe" href="{$SITE_URL}/index.php/Public/login">test</a> --> </empty>
      <span style="color:#999;">|</span> <a href="{$SITE_URL}/index.php/Page/index/id/15">Contact Us</a> </div>
    <a href="{$SITE_URL}" class="logo"> <img src="{$SITE_URL}/public/jack/forindex/images/logo.png"  height="54" alt="Come To Word" /></a>
    <div class="menu">
      <?php /////var_dump(MODULE_NAME); var_dump(ACTION_NAME); ?>
      <ul>
        <li <?php if(MODULE_NAME=="Index"&& ACTION_NAME=="index"){ echo 'class="selected"'; } ?> ><a href="{$SITE_URL}">Home</a></li>
      
        <li <?php if(MODULE_NAME=="Products"&& ACTION_NAME=="lists"){ if(!empty($_GET["flag"])){ if($_GET["flag"]=="supply")echo 'class="selected"'; }} ?>><a href="{$SITE_URL}/index.php?s=Products/lists/flag/supply/cat_id/0">Suppliers </a></li>
        <li <?php if(MODULE_NAME=="Products"&& ACTION_NAME=="lists"){ if(!empty($_GET["flag"])){ if($_GET["flag"]=="demand")echo 'class="selected"'; }} ?>> <a href="{$SITE_URL}/index.php?s=Products/lists/flag/demand/cat_id/0">Buyers</a> </li>
        <li <?php if(MODULE_NAME=="Page"&& ACTION_NAME=="index"){ if(!empty($_GET["id"])){ if($_GET["id"]=="14")echo 'class="selected"'; }} ?>><a href="{$SITE_URL}/index.php/Page/index/id/14">Business Service</a></li>
        <!--
        <li><a href="{$SITE_URL}/index.php/Page/index/id/12">Business cooperation</a></li>
        <li><a href="{$SITE_URL}/index.php/Page/index/id/13">Exhibition</a></li>
      
        <li><a href="">Forums</a></li>
       
        <li><a href="{$SITE_URL}/index.php/Products/product/id/6?l=zh-cn">ProductPage(test)</a></li>
         -->
        <li><a href="{$SITE_URL}/admin.php">Admin Area</a></li>
        <li><a href="{$SITE_URL}/biz.php">Biz Area</a></li>
        <li><a href="{$SITE_URL}/hr.php">HR</a></li>
      </ul>
    </div>
    <div class="search_bar">
      <form action="{$SITE_URL}/index.php/index.php/Search/index">
        <input type="hidden" name="type" value="1" />
        <input type="text" name="keywords" value="{$Think.get.keywords}" />
        <select name="region">
          <option value="">Select Country/Region</option>
          <foreach name="all_regions" item="vo" > <option value="{$vo.region_code}"  
            
            <eq name="Think.get.region" value="$vo.region_code"> selected="selected" </eq>
            >{$vo.region_country}/{$vo.region_province}
            
            </option>
          </foreach>
        </select>
        <?php //*/ ?>
        <input type="submit" value="Submit" />
      </form>
      <?php /* ?>
       <a href="" class="search_btn">Search Now</a>
       
       <a href="" class="search_btn2">Advance Search >></a>
       <?php //*/ ?>
    </div>
  </div>
  <!-- EO w960 --> 
</div>
<!-- EO Header -->

<div id="content">
<div class="w960">
